/* reset */
body,div,dl,dt,dd,ul,ol,li,h1,h2,h3,h4,h5,h6,pre,form,fieldset,input,p,blockquote,th,td{margin:0;padding:0;}
table{border-collapse:collapse;border-spacing:0;}
fieldset,img{border:0;}
address,caption,cite,code,dfn,em,strong,th,var{font-style:normal;font-weight:normal;}
ol,ul {list-style:none;}
caption,th {text-align:left;}
h1,h2,h3,h4,h5,h6{font-size:100%;font-weight:normal;}
q:before,q:after{content:'';}

/* /reset */


body {
    background: #fff url( '_images/content.left.png' ) repeat-x 0 25px;
    color: #191a20;
    display: none;
    overflow: hidden;
}

body, td, th, select, input {
    font-size: 10px;
}

div#contentHolder {
    height: 379px;
    background: url( '_images/content.right.png' ) no-repeat right 25px;
}

a:link,
a:visited,
a:active {
    color: #0248d4;
    font-weight: bold;    
    text-decoration: none;
}

a:hover {
    color: #0248d4;
    font-weight: bold;    
    text-decoration: underline;
}



div#throbber {
    background: #fff url( '_images/throbber.gif' ) no-repeat center 140px;
    height: 296px;
    position: absolute;
    top: 39px;
    z-index: 241;
    left: 5px;
}

div#errorContainer {
    background: url( '_images/error.overlay.png' );
    display: none;
    height: 379px;
    padding-top: 148px;
    position: absolute;
    text-align: center;
    width: 100%;
    z-index: 242;
}

div#errorContainer div {
    background: url( '_images/error.dialog.top.png' ) no-repeat;
    margin: auto;
    width: 184px;
    padding-top: 2px;
}

div#errorContainer p {
    background: url( '_images/error.dialog.bottom.png' ) left bottom;
    color: #c5cdd7;
    padding: 13px 15px 15px 15px;
}

ul#mainMenu {
    height: 28px;
    overflow: hidden;
    width: 100%;  
}

ul#mainMenu li {
    background: url( '_images/tabmenu.li.left.inactive.png' ) repeat-x; 
    float: left;
    height: 25px;
    overflow: hidden;
    text-align: center;
    width: 25%;
}

ul#mainMenu li.active {
    background: url( '_images/tabmenu.li.left.active.png' ) repeat-x; 
    height: 28px;
}

ul#mainMenu li.first-active {
    background: url( '_images/tabmenu.li.left.active.first.png' ) repeat-x; 
}

ul#mainMenu a {
    background:  no-repeat top right; 
    display: block;
    height: 25px;
    width: 100%;
}

ul#mainMenu a {
    background-image: url( '_images/tabmenu.li.right.inactive.png' );
    padding-top: 4px;
    height: 21px;
    line-height: 21px;
}


ul#mainMenu a:link,
ul#mainMenu a:visited,
ul#mainMenu a:active,
ul#mainMenu a:hover {
    color: #c5cdd7;
}

ul#mainMenu li.active a {
    background-image: url( '_images/tabmenu.li.right.active.png' );
    padding-top: 3px;
    height: 28px;
    line-height: 21px;
}

ul#mainMenu li.active a.last {
    background-image: url( '_images/tabmenu.li.right.active.last.png' );
}

ul#mainMenu li.active a:link,
ul#mainMenu li.active a:visited,
ul#mainMenu li.active a:active,
ul#mainMenu li.active a:hover {
    color: #3b415f;
}

div#pageHolder {
    background-image: url( '_images/page.left.png' );
    height: 300px;
    margin: 9px 3px 0 3px;
    overflow: hidden;
}

div.page {
    background: url( '_images/page.right.png' ) no-repeat right top;
    display: none;
    height: 300px;
    padding: 2px;
    position: relative;
}

div#footer {
    height: 26px;
    line-height: 13px;
    color: #4c6a97;
    margin: 5px 7px 7px 7px;
    overflow: hidden;
    text-align: center;
}

div.bottomBarHolder {
    position: relative;
}

div.bottomBar {
    background: url( '_images/bottombar.png' ) repeat-x;
    color: #7c90ac;
    height: 27px;
    line-height: 22px;
    overflow: hidden;
    padding-top: 5px;
    position: absolute;   
    width: 100%; 
    top: 269px;
}

div.bottomBar span {
    padding: 0 8px;
}

div.topBar {
    background: url( '_images/topbar.png' ) repeat-x;
    height: 27px;
    line-height: 23px;
    overflow: hidden;
    vertical-align: middle;
}

div.topBar * {
    overflow: hidden;

}

div.list {
    padding: 1px;
}

* html div.list {
    width: 100%;
}


table {
    width: 100%;
}

.list td {
    height: 17px;
    line-height: 17px;
}

.list tr.uneven td {
    background: url( '_images/tr.uneven.png' ) repeat-x;
    height: 15px;
    line-height: 15px;
}

.list td.place {
    padding-left: 7px;
    width: 23px;
}

/*********************************
** NEWS PAGE
*********************************/

div.newsItem {
    border-bottom: 1px solid #c3cbd7;
    display: none;
    height: 58px;
    padding: 9px 15px 0 15px;
}

/* box model hack for IE :( */
* html div.newsItem {
    \height: 68px;
}


div.newsItem p {
    height: 16px;
    line-height: 16px;
    overflow: hidden;
}

div.newsItem p.date {
    color: #8e94b3;
}

div.newsItem-uneven {
    background: url( '_images/newsitem.uneven.png' ) repeat-x;
}



/*********************************
** WEATHER PAGE
*********************************/

div.weatherItem {
    border-bottom: 1px solid #c3cbd7;
    clear: left;
    display: none;
    height: 99px;
}

/* box model hack for IE :( */
* html div.weatherItem {
    \height: 100px;
}

#page_weather div.uneven {
    background: url( '_images/weatheritem.uneven.png' ) repeat-x;
    height: 96px;
}

/* box model hack for IE :( */
* html #page_weather div.uneven {
    \height: 97px;
}

#page_weather div.last {
    border: none;
}

div.weatherItem img {
    display: none;
    float: left;
    margin: 17px 0 0 13px;
    height: 64px;
    width: 64px;
}

div.weatherItem div.info {
    float: left;
    margin: 17px 0 0 15px;
    padding-top: 3px;
}

div.weatherItem div.info h2,
div.weatherItem div.info p {
    color: #1e2240;
    height: 15px;
    line-height: 15px;
    overflow: hidden;
}

div.weatherItem div.info h2 {
    font-weight: bold;
}

div.weatherItem div.info p span {
    color: #7c90ac;
}

#page_weather div.uneven img,
#page_weather div.uneven div.info {
    margin-top: 15px;
}


/*********************************
** TOP LIST PAGE
*********************************/

#page_topList div.topBar {
    line-height: 20px;
    padding: 0 8px;
}

#page_topList label {
    display: inline;
    vertical-align: middle;
}

#page_topList select {
    margin-left: 3px;
    vertical-align: middle;
}

/* IE is not respecting line-height */
* html #page_topList div.topBar {
    \padding-top: 1px; 
}

#map {
    height: 106px;
    margin-bottom: 2px;
    margin-top: -3px;
}

#page_topList div#noRace,
#page_topList div#noTopList {
    display: none;
    height: 16px;
    line-height: 16px;
    margin-top: 75px;
    text-align: center;
}

#page_topList div.list {
    display: none;
}

#page_topList .list td.time {
    color: #8e94b3;
    padding-right: 20px;
    text-align: right;
}

#page_topList .list tr.first td.time {
    color: #191a20;
    padding-right: 22px;
}


/*********************************
** SEARCH PAGE
*********************************/

div#noSearchResults {
    display: none; 
    height: 16px;
    line-height: 16px;
    margin-top: 85px;
    text-align: center;
}

#searchFormHolder {
    padding-left: 14px;
    padding-right: 14px;
}

* html #searchFormHolder {
    \padding-left: 9px;
    \padding-right: 9px;
}

#searchForm {
    height: 105px;
    background: url( '_images/search.form.bottom.png' ) repeat-x left bottom;
    margin: 0 -14px;
    padding: 4px 14px 0 14px;
}

* html #searchForm {
    \height: 109px;
    \margin: 0 -9px;
    \padding: 4px 9px 0 9px;
}

#searchFormHolder .left,
#searchFormHolder .right {
    float: left;    
    width: 50%;
    overflow: hidden;
}

#searchFormHolder .left {
    margin-left: -5px; 
    padding-right: 5px; 
}

* html #searchFormHolder .left {
    \margin-left: 0;
}

#searchFormHolder .right {
    margin-right: -5px;
    padding-left: 5px; 
}

* html #searchFormHolder .right {
    \margin-left: 0;
}

label {
    color: #3b415f;
    display: block;
    height: 12px;
    line-height: 12px;
}

input.inputText {
    border: 1px solid #bcccdc;
    color: #8e94b3;
    display: block;
    height: 20px;
    line-height: 18px; 
    padding: 2px; 
    width: 100%;
}

* input.inputText {
    \line-height: 13px;
}

* html input.inputText,
* html label {
    \margin-bottom: -1px;
}

input.inputSubmit {
    background: #abbcd5;
    border: 1px solid #536c8d;
    color: #3b415f;
    display: block;
    font-weight: bold;
    height: 20px;
    margin-top: 12px;
    width: 100%;
}

input.disabledSubmit {
    background: #c0c0c0;
    border: 1px solid #b2b2b2;
    color: #888;
}

#searchForm select {
    width: 100%;
}

#searchClear {
    position: absolute;
    z-index: 100;
    top: 108px;
    width: 100%;
}

#searchClear div {
    background: url( '_images/search.bg.png' );
    height: 190px;
    margin-right: 4px;
    text-align: right;
}

* html #searchClear div {
    \margin-right: 0;
}

#searchClear img {
    margin-top: 104px;
    margin-right: 20px;
}

#page_search div.list {
    padding-top: 0;
    display: none;
}


#page_search div.bottomBarHolder {
    display: none;
}

#page_search div.bottomBar span {
    padding: 0 8px;
}

a.buttonPrev {
    background: url( '_images/button.prev.active.png' ) no-repeat left 4px;
    display: block;
    height: 22px;
    margin-left: 8px;
    padding-left: 20px;
    position: absolute;
    z-index: 2;
}

a.buttonNext {
    background: url( '_images/button.next.active.png' ) no-repeat right 4px;
    display: block;
    height: 22px;
    padding-right: 20px;
    margin-right: 8px; 
    position: absolute;
    right: 0;
    z-index: 2;
}

* html a.buttonNext {
    \margin-right: 7px;
}

#page_search a.inactivePrev {
    background-image: url( '_images/button.prev.inactive.png' );
}

#page_search a.inactiveNext {
    background-image: url( '_images/button.next.inactive.png' );
}

#page_search a.inactivePrev:link,
#page_search a.inactivePrev:visited,
#page_search a.inactivePrev:active,
#page_search a.inactivePrev:hover,
#page_search a.inactiveNext:link,
#page_search a.inactiveNext:visited,
#page_search a.inactiveNext:active,
#page_search a.inactiveNext:hover {
    color: #9fbaec;
}

div#pages {
    color: #3b415f;
    height: 22px;
    position: absolute;
    text-align: center;
    width: 100%;
    z-index: 1;
}

div#pages em {
    font-weight: bold;
}





/*********************************
** PROFILE PAGE
*********************************/

#page_profile h2 {
    color: #7c90ac;
    font-weight: bold;
    height: 15px;
    line-height: 15px;
    margin-top: 2px;
    overflow: hidden;
    padding-left: 7px;
}

#page_profile h3 {
    font-size: 12px;
    font-weight: bold;
    height: 18px;
    line-height: 18px;
    margin-bottom: 4px;
    overflow: hidden;
    padding-left: 8px;
}

#statsList span {
    color: #7c90ac;
    margin-left: 6px;
}

#statsList div {
    height: 13px;
    line-height: 13px;
}

#statsList div.uneven {
    background: url( '_images/tr.uneven.png' ) repeat-x left bottom;
    height: 13px;
    line-height: 13px;
}

#stationsList {
    margin-top: 4px;
}

#stationsList th {
    color: #7c90ac;
    height: 15px;
    line-height: 15px;
}

#stationsList td.station {
    font-weight: bold;
    padding-left: 6px;
}


#stationsList td {
    height: 15px;
    line-height: 15px;
}
